package com.icim.entity;

import java.sql.Timestamp;

public class Ret_prd_info implements Comparable<Ret_prd_info>{
    private String prd_seq_id;
    private String so_id_fk;
    private String grade;
    private String layout_ox;
    private String group_id;
    private Integer x_axis_cnt;
    private Integer y_axis_cnt;
    private String ship_box_id_fk;
    private String mdl_id_fk;
    private String box_id_fk;
    private String wo_id_fk;
    private String slot_no;
    private Timestamp act_stb_timestamp;
    private String ds_recipe_id;
    private Timestamp fst_logon_timestamp;
    private String mtrl_slot_no_fk;
    private String rsn_dept1;
    private String prd_seq_typ;
    private Timestamp shipping_timestamp;
    private String evt_cate;
    private String cr_ope_id_fk;
    private Timestamp evt_timestamp;
    private String mtrl_prod_id_fk;
    private String pv_prd_seq_id;
    private String mtrl_box_id_fk;
    private String prd_grade;
    private int c_rubbing_time;
    private int prd_qty;
    private int prd_std_qty;
    private String prd_admin_flg;
    
    public String getPrd_admin_flg() {
		return prd_admin_flg;
	}

	public void setPrd_admin_flg(String prd_admin_flg) {
		this.prd_admin_flg = prd_admin_flg;
	}

	public int getPrd_std_qty() {
		return prd_std_qty;
	}

	public void setPrd_std_qty(int prd_std_qty) {
		this.prd_std_qty = prd_std_qty;
	}

	public int getPrd_qty() {
		return prd_qty;
	}

	public void setPrd_qty(int prd_qty) {
		this.prd_qty = prd_qty;
	}

	public int getC_rubbing_time() {
		return c_rubbing_time;
	}

	public void setC_rubbing_time(int c_rubbing_time) {
		this.c_rubbing_time = c_rubbing_time;
	}

	public String getPrd_grade() {
		return prd_grade;
	}

	public void setPrd_grade(String prd_grade) {
		this.prd_grade = prd_grade;
	}

	public String getMtrl_box_id_fk() {
		return mtrl_box_id_fk;
	}

	public void setMtrl_box_id_fk(String mtrl_box_id_fk) {
		this.mtrl_box_id_fk = mtrl_box_id_fk;
	}

	public String getPv_prd_seq_id() {
		return pv_prd_seq_id;
	}

	public void setPv_prd_seq_id(String pv_prd_seq_id) {
		this.pv_prd_seq_id = pv_prd_seq_id;
	}

	public String getMtrl_prod_id_fk() {
		return mtrl_prod_id_fk;
	}

	public void setMtrl_prod_id_fk(String mtrl_prod_id_fk) {
		this.mtrl_prod_id_fk = mtrl_prod_id_fk;
	}

	public Timestamp getEvt_timestamp() {
		return evt_timestamp;
	}

	public void setEvt_timestamp(Timestamp evt_timestamp) {
		this.evt_timestamp = evt_timestamp;
	}

	public String getCr_ope_id_fk() {
		return cr_ope_id_fk;
	}

	public void setCr_ope_id_fk(String cr_ope_id_fk) {
		this.cr_ope_id_fk = cr_ope_id_fk;
	}

	public String getEvt_cate() {
		return evt_cate;
	}

	public void setEvt_cate(String evt_cate) {
		this.evt_cate = evt_cate;
	}

	public Timestamp getShipping_timestamp() {
		return shipping_timestamp;
	}

	public void setShipping_timestamp(Timestamp shipping_timestamp) {
		this.shipping_timestamp = shipping_timestamp;
	}

	public String getPrd_seq_typ() {
		return prd_seq_typ;
	}

	public void setPrd_seq_typ(String prd_seq_typ) {
		this.prd_seq_typ = prd_seq_typ;
	}

	public String getPrd_seq_id() {
        return prd_seq_id;
    }

    public void setPrd_seq_id(String prd_seq_id) {
        this.prd_seq_id = prd_seq_id;
    }

    public String getSo_id_fk() {
        return so_id_fk;
    }

    public void setSo_id_fk(String so_id_fk) {
        this.so_id_fk = so_id_fk;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getLayout_ox() {
        return layout_ox;
    }

    public void setLayout_ox(String layout_ox) {
        this.layout_ox = layout_ox;
    }

    public String getGroup_id() {
        return group_id;
    }

    public void setGroup_id(String group_id) {
        this.group_id = group_id;
    }

    public Integer getX_axis_cnt() {
        return x_axis_cnt;
    }

    public void setX_axis_cnt(Integer x_axis_cnt) {
        this.x_axis_cnt = x_axis_cnt;
    }

    public Integer getY_axis_cnt() {
        return y_axis_cnt;
    }

    public void setY_axis_cnt(Integer y_axis_cnt) {
        this.y_axis_cnt = y_axis_cnt;
    }

    public String getShip_box_id_fk() {
        return ship_box_id_fk;
    }

    public void setShip_box_id_fk(String ship_box_id_fk) {
        this.ship_box_id_fk = ship_box_id_fk;
    }

    public String getMdl_id_fk() {
        return mdl_id_fk;
    }

    public void setMdl_id_fk(String mdl_id_fk) {
        this.mdl_id_fk = mdl_id_fk;
    }

	public String getBox_id_fk() {
		return box_id_fk;
	}

	public void setBox_id_fk(String box_id_fk) {
		this.box_id_fk = box_id_fk;
	}

    public String getWo_id_fk() {
        return wo_id_fk;
    }

    public void setWo_id_fk(String wo_id_fk) {
        this.wo_id_fk = wo_id_fk;
    }

    public String getSlot_no() {
        return slot_no;
    }

    public void setSlot_no(String slot_no) {
        this.slot_no = slot_no;
    }

    public Timestamp getAct_stb_timestamp() {
        return act_stb_timestamp;
    }

    public void setAct_stb_timestamp(Timestamp act_stb_timestamp) {
        this.act_stb_timestamp = act_stb_timestamp;
    }

	public String getDs_recipe_id() {
		return ds_recipe_id;
	}

	public void setDs_recipe_id(String ds_recipe_id) {
		this.ds_recipe_id = ds_recipe_id;
	}

    public Timestamp getFst_logon_timestamp() {
      return fst_logon_timestamp;
    }
  
    public void setFst_logon_timestamp(Timestamp fst_logon_timestamp) {
      this.fst_logon_timestamp = fst_logon_timestamp;
    }

    public String getMtrl_slot_no_fk() {
      return mtrl_slot_no_fk;
    }

    public void setMtrl_slot_no_fk(String mtrl_slot_no_fk) {
      this.mtrl_slot_no_fk = mtrl_slot_no_fk;
    }

    public String getRsn_dept1() {
      return rsn_dept1;
    }

    public void setRsn_dept1(String rsn_dept1) {
      this.rsn_dept1 = rsn_dept1;
    }
	
    @Override  
    public int compareTo(Ret_prd_info o) {  
        int i = Integer.parseInt(this.getMtrl_slot_no_fk()) - Integer.parseInt(o.getMtrl_slot_no_fk());//先按照年龄排序  
        return i;  
    }  
    
}
